package vashion.azeroth.core.service.base;

import vashion.azeroth.core.pojo.BaseObject;

public class BaseESService {

	protected Integer pageSize;
	protected Integer pageNum;

	public void initPages(BaseObject object,int totalCounts){
		this.pageSize = object.getPageSize();
		this.pageNum = object.getPageNum();
	}


	public Integer getPageSize() {
		return pageSize;
	}

	public void setPageSize(Integer pageSize) {
		this.pageSize = pageSize;
	}

	public Integer getPageNum() {
		return pageNum;
	}

	public void setPageNum(Integer pageNum) {
		this.pageNum = pageNum;
	}

}
